package com.lagou.mapper;

import com.lagou.domain.Role;

import java.util.List;

/**
 * @Author wsl
 * @Date 2021/11/3 21:15
 * @Project_Name mybatis_quickstart
 */
public interface RoleMapper {

    /**
     * 1.用于多对多嵌套查询：根据用户id主键，查询角色列表
     * @param uid
     * @return
     */
    public List<Role> findByUid(Integer uid);
}
